package com.xyht.medicine_management_system.modules.consumptionPoint.service;

import com.xyht.medicine_management_system.common.commonReturn.ResponseResult;
import com.xyht.medicine_management_system.modules.consumptionPoint.entity.MmsConsumptionPointRule;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xyht.medicine_management_system.modules.consumptionPoint.entity.req.MmsConsumptionPointRuleReq;

import java.util.Date;

/**
 * <p>
 * 积分规则表 服务类
 * </p>
 *
 * @author XYHT
 * @since 2023-12-06
 */
public interface MmsConsumptionPointRuleService extends IService<MmsConsumptionPointRule> {

    ResponseResult addConsumptionPointRule(MmsConsumptionPointRuleReq ruleReq, String userId);

    ResponseResult updateConsumptionPointRule(MmsConsumptionPointRuleReq ruleReq);

    ResponseResult listConsumptionPointRule(Integer pageNum, Integer pageSize, Date startDate, Date endDate, Integer status, String searchStr);

    ResponseResult ruleDetail(String ruleId);
}
